<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<html>
    <head>
        <title>Crear Noticia</title>
        <link type="text/css" rel="stylesheet" href="/stylesheets/menu.css"/>
        <link rel="icon" type="image/vnd.microsoft.icon" href="/favicon.ico"/>
    </head>
    
    
    
    <body>
        <h1>Noticias</h1>
        <div id="stylized" class="myform">
        <form action="/crear_noticia" method="post" id="form" name="form">
            
           <label>Titulo:
               <span class="small">Titulo de la noticia</span>
               </label>
           <input type="text" name="titulo" required="required" maxlength="90"/>
            
            <label> Contenido:
                 <span class="small">Descripcion de la noticia</span>
                  </label>
            <textarea rows="3" cols="45" name="contenido" required="required"></textarea>
   
			 <input class="botonenviar" id="submit" type="submit" value="Añadir"/>
                         <input type="reset" value="Borrar"/>
                        <input type="button" value="Volver" onclick="history.back()"/>
                                  <div class="spacer"></div>
        </form>
             </div>
        
       </body>
</html>